#include <stdio.h>

double mypow( double x, int n );

int main()
{
    double x;
    int n;

    scanf("%lf %d", &x, &n);
    printf("%f\n", mypow(x, n));

    return 0;
}
double mypow( double x, int n ) {
    int i, m = 1;//x = 1 n = 2
    for (i = 0; i < n; i++) {// 
        m = x * m;// 
    } 
    return m;
}